package com.lc.zpyh.http.response;

import java.io.Serializable;
import java.util.List;

public class SelectMerchantInfonNewBean implements Serializable {

    @Override
    public String
    toString() {
        return "SelectMerchantInfonNewBean{" +
                "msg='" + msg + '\'' +
                ", code=" + code +
                ", merchantInfo=" + merchantInfo +
                '}';
    }

    /**
     * msg : 操作成功
     * code : 0
     * merchantInfo : {"merchantCoupons":[{"creditFor":500,"meetTheConditions":2000,"couponId":68},{"creditFor":500,"meetTheConditions":2500,"couponId":78}],"img":"file/2021/08/05/ec5e4665031146d6a680196a275eba19.png","backdrop":null,"evaluationCount":0,"userAttention":0,"name":"何百万私家菜","id":122,"video":"file/2021/08/05/90162fa533784146ab5cbeae142521df.mp4","classifies":[{"childrens":[{"classifyId":77,"classifyPid":76,"commodities":[{"img":"file/2021/08/05/1f8951b0b36147ca9ef7663f158490e6.png","price":1000,"classifyId":77,"isSoldOut":0,"commodityId":107,"inventory":15,"sales":18,"classifyName":"家凉","cart":{"count":0},"commodityName":"家凉","status":0},{"img":"file/2021/08/05/e6316550f2ff4dd1b8c7954fa52623d8.png","price":1,"classifyId":77,"isSoldOut":0,"commodityId":108,"inventory":28,"sales":5,"classifyName":"家凉","cart":{"count":0},"commodityName":"拌拉皮","status":0},{"img":"file/2021/08/05/1c32564f5b7b4de1b7b72f4fe133e7b2.png","price":2,"classifyId":77,"isSoldOut":0,"commodityId":109,"inventory":32,"sales":1,"classifyName":"家凉","cart":{"cartId":447,"count":2},"commodityName":"拌黄瓜丝","status":0}],"sort":1,"classifyName":"家凉"}],"classifyId":76,"sort":1,"classifyName":"凉菜"}],"status":1}
     */

    private String msg;
    private Integer code;
    private MerchantInfoBean merchantInfo;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public MerchantInfoBean getMerchantInfo() {
        return merchantInfo;
    }

    public void setMerchantInfo(MerchantInfoBean merchantInfo) {
        this.merchantInfo = merchantInfo;
    }

    public static class MerchantInfoBean implements Serializable{
        /**
         * merchantCoupons : [{"creditFor":500,"meetTheConditions":2000,"couponId":68},{"creditFor":500,"meetTheConditions":2500,"couponId":78}]
         * img : file/2021/08/05/ec5e4665031146d6a680196a275eba19.png
         * backdrop : null
         * evaluationCount : 0
         * userAttention : 0
         * name : 何百万私家菜
         * id : 122
         * video : file/2021/08/05/90162fa533784146ab5cbeae142521df.mp4
         * classifies : [{"childrens":[{"classifyId":77,"classifyPid":76,"commodities":[{"img":"file/2021/08/05/1f8951b0b36147ca9ef7663f158490e6.png","price":1000,"classifyId":77,"isSoldOut":0,"commodityId":107,"inventory":15,"sales":18,"classifyName":"家凉","cart":{"count":0},"commodityName":"家凉","status":0},{"img":"file/2021/08/05/e6316550f2ff4dd1b8c7954fa52623d8.png","price":1,"classifyId":77,"isSoldOut":0,"commodityId":108,"inventory":28,"sales":5,"classifyName":"家凉","cart":{"count":0},"commodityName":"拌拉皮","status":0},{"img":"file/2021/08/05/1c32564f5b7b4de1b7b72f4fe133e7b2.png","price":2,"classifyId":77,"isSoldOut":0,"commodityId":109,"inventory":32,"sales":1,"classifyName":"家凉","cart":{"cartId":447,"count":2},"commodityName":"拌黄瓜丝","status":0}],"sort":1,"classifyName":"家凉"}],"classifyId":76,"sort":1,"classifyName":"凉菜"}]
         * status : 1
         */

        private String img;
        private String backdrop;
        private Integer evaluationCount;
        private Integer userAttention;
        private String name;
        private Integer id;
        private String video;
        private Integer status;

        private Integer attentionCount;
        private List<MerchantCouponsBean> merchantCoupons;
        private List<ClassifiesBean> classifies;

        public Integer getAttentionCount() {
            return attentionCount;
        }

        public void setAttentionCount(Integer attentionCount) {
            this.attentionCount = attentionCount;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getBackdrop() {
            return backdrop;
        }

        public void setBackdrop(String backdrop) {
            this.backdrop = backdrop;
        }

        public Integer getEvaluationCount() {
            return evaluationCount;
        }

        public void setEvaluationCount(Integer evaluationCount) {
            this.evaluationCount = evaluationCount;
        }

        public Integer getUserAttention() {
            return userAttention;
        }

        public void setUserAttention(Integer userAttention) {
            this.userAttention = userAttention;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getVideo() {
            return video;
        }

        public void setVideo(String video) {
            this.video = video;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public List<MerchantCouponsBean> getMerchantCoupons() {
            return merchantCoupons;
        }

        public void setMerchantCoupons(List<MerchantCouponsBean> merchantCoupons) {
            this.merchantCoupons = merchantCoupons;
        }

        public List<ClassifiesBean> getClassifies() {
            return classifies;
        }

        public void setClassifies(List<ClassifiesBean> classifies) {
            this.classifies = classifies;
        }

        public static class MerchantCouponsBean implements Serializable{
            /**
             * creditFor : 500
             * meetTheConditions : 2000
             * couponId : 68
             */

            private Integer creditFor;
            private Integer meetTheConditions;
            private Integer couponId;

            public Integer getCreditFor() {
                return creditFor;
            }

            public void setCreditFor(Integer creditFor) {
                this.creditFor = creditFor;
            }

            public Integer getMeetTheConditions() {
                return meetTheConditions;
            }

            public void setMeetTheConditions(Integer meetTheConditions) {
                this.meetTheConditions = meetTheConditions;
            }

            public Integer getCouponId() {
                return couponId;
            }

            public void setCouponId(Integer couponId) {
                this.couponId = couponId;
            }
        }

        public static class ClassifiesBean implements Serializable{
            /**
             * childrens : [{"classifyId":77,"classifyPid":76,"commodities":[{"img":"file/2021/08/05/1f8951b0b36147ca9ef7663f158490e6.png","price":1000,"classifyId":77,"isSoldOut":0,"commodityId":107,"inventory":15,"sales":18,"classifyName":"家凉","cart":{"count":0},"commodityName":"家凉","status":0},{"img":"file/2021/08/05/e6316550f2ff4dd1b8c7954fa52623d8.png","price":1,"classifyId":77,"isSoldOut":0,"commodityId":108,"inventory":28,"sales":5,"classifyName":"家凉","cart":{"count":0},"commodityName":"拌拉皮","status":0},{"img":"file/2021/08/05/1c32564f5b7b4de1b7b72f4fe133e7b2.png","price":2,"classifyId":77,"isSoldOut":0,"commodityId":109,"inventory":32,"sales":1,"classifyName":"家凉","cart":{"cartId":447,"count":2},"commodityName":"拌黄瓜丝","status":0}],"sort":1,"classifyName":"家凉"}]
             * classifyId : 76
             * sort : 1
             * classifyName : 凉菜
             */

            private Integer classifyId;
            private Integer sort;
            private String classifyName;
            private List<ChildrensBean> childrens;

            public Integer getClassifyId() {
                return classifyId;
            }

            public void setClassifyId(Integer classifyId) {
                this.classifyId = classifyId;
            }

            public Integer getSort() {
                return sort;
            }

            public void setSort(Integer sort) {
                this.sort = sort;
            }

            public String getClassifyName() {
                return classifyName;
            }

            public void setClassifyName(String classifyName) {
                this.classifyName = classifyName;
            }

            public List<ChildrensBean> getChildrens() {
                return childrens;
            }

            public void setChildrens(List<ChildrensBean> childrens) {
                this.childrens = childrens;
            }

            public static class ChildrensBean implements Serializable{
                /**
                 * classifyId : 77
                 * classifyPid : 76
                 * commodities : [{"img":"file/2021/08/05/1f8951b0b36147ca9ef7663f158490e6.png","price":1000,"classifyId":77,"isSoldOut":0,"commodityId":107,"inventory":15,"sales":18,"classifyName":"家凉","cart":{"count":0},"commodityName":"家凉","status":0},{"img":"file/2021/08/05/e6316550f2ff4dd1b8c7954fa52623d8.png","price":1,"classifyId":77,"isSoldOut":0,"commodityId":108,"inventory":28,"sales":5,"classifyName":"家凉","cart":{"count":0},"commodityName":"拌拉皮","status":0},{"img":"file/2021/08/05/1c32564f5b7b4de1b7b72f4fe133e7b2.png","price":2,"classifyId":77,"isSoldOut":0,"commodityId":109,"inventory":32,"sales":1,"classifyName":"家凉","cart":{"cartId":447,"count":2},"commodityName":"拌黄瓜丝","status":0}]
                 * sort : 1
                 * classifyName : 家凉
                 */

                private Integer classifyId;
                private Integer classifyPid;
                private Integer sort;
                private String classifyName;
                private List<CommoditiesBean> commodities;

                public Integer getClassifyId() {
                    return classifyId;
                }

                public void setClassifyId(Integer classifyId) {
                    this.classifyId = classifyId;
                }

                public Integer getClassifyPid() {
                    return classifyPid;
                }

                public void setClassifyPid(Integer classifyPid) {
                    this.classifyPid = classifyPid;
                }

                public Integer getSort() {
                    return sort;
                }

                public void setSort(Integer sort) {
                    this.sort = sort;
                }

                public String getClassifyName() {
                    return classifyName;
                }

                public void setClassifyName(String classifyName) {
                    this.classifyName = classifyName;
                }

                public List<CommoditiesBean> getCommodities() {
                    return commodities;
                }

                public void setCommodities(List<CommoditiesBean> commodities) {
                    this.commodities = commodities;
                }

                public static class CommoditiesBean implements Serializable{
                    /**
                     * img : file/2021/08/05/1f8951b0b36147ca9ef7663f158490e6.png
                     * price : 1000
                     * classifyId : 77
                     * isSoldOut : 0
                     * commodityId : 107
                     * inventory : 15
                     * sales : 18
                     * classifyName : 家凉
                     * cart : {"count":0}
                     * commodityName : 家凉
                     * status : 0
                     */

                    private String img;
                    private Integer price;
                    private Integer prePrice;
                    private Integer classifyId;
                    private Integer isSoldOut;
                    private Integer commodityId;
                    private Integer inventory;
                    private Integer sales;
                    private String classifyName;
                    private List<CartBean> cart;
                    private String commodityName;
                    private Integer status;

                    public Integer getPrePrice() {
                        return prePrice;
                    }

                    public void setPrePrice(Integer prePrice) {
                        this.prePrice = prePrice;
                    }

                    public String getImg() {
                        return img;
                    }

                    public void setImg(String img) {
                        this.img = img;
                    }

                    public Integer getPrice() {
                        return price;
                    }

                    public void setPrice(Integer price) {
                        this.price = price;
                    }

                    public Integer getClassifyId() {
                        return classifyId;
                    }

                    public void setClassifyId(Integer classifyId) {
                        this.classifyId = classifyId;
                    }

                    public Integer getIsSoldOut() {
                        return isSoldOut;
                    }

                    public void setIsSoldOut(Integer isSoldOut) {
                        this.isSoldOut = isSoldOut;
                    }

                    public Integer getCommodityId() {
                        return commodityId;
                    }

                    public void setCommodityId(Integer commodityId) {
                        this.commodityId = commodityId;
                    }

                    public Integer getInventory() {
                        return inventory;
                    }

                    public void setInventory(Integer inventory) {
                        this.inventory = inventory;
                    }

                    public Integer getSales() {
                        return sales;
                    }

                    public void setSales(Integer sales) {
                        this.sales = sales;
                    }

                    public String getClassifyName() {
                        return classifyName;
                    }

                    public void setClassifyName(String classifyName) {
                        this.classifyName = classifyName;
                    }

                    public List<CartBean> getCart() {
                        return cart;
                    }

                    public void setCart(List<CartBean> cart) {
                        this.cart = cart;
                    }

                    public String getCommodityName() {
                        return commodityName;
                    }

                    public void setCommodityName(String commodityName) {
                        this.commodityName = commodityName;
                    }

                    public Integer getStatus() {
                        return status;
                    }

                    public void setStatus(Integer status) {
                        this.status = status;
                    }

                    public static class CartBean implements Serializable{
                        /**
                         * count : 0
                         */
                        private Integer cartId;
                        private Integer count;
                        private String specificationId;
                        private String condimentsId;

                        public String getCondimentsId() {
                            return condimentsId;
                        }

                        public void setCondimentsId(String condimentsId) {
                            this.condimentsId = condimentsId;
                        }

                        public String getSpecificationId() {
                            return specificationId;
                        }

                        public void setSpecificationId(String specificationId) {
                            this.specificationId = specificationId;
                        }

                        public Integer getCartId() {
                            return cartId;
                        }

                        public void setCartId(Integer cartId) {
                            this.cartId = cartId;
                        }

                        public Integer getCount() {
                            return count;
                        }

                        public void setCount(Integer count) {
                            this.count = count;
                        }
                    }
                }
            }
        }
    }
}
